package com.example.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 用来映射配置文件
 */
@Data
@ConfigurationProperties(prefix = "xiaoxueji.oss")
public class OssProperties {

    private String endpoint;
    private String accessKey;
    private String secret;
    private String bucketName;
}
